CMake fix to allow sandbox projects to work.