CMake fix for build path containing spaces.
Merge pull request #180 from Fraser999/MAID-551

CMake fix for build path containing spaces.