Move cmake commands to a Build directory