Finalise build configuration