handle quotes around generator and cmake_home, which is useful for bamboo for example