Moves cmake configure_file instructions to cmake folder