quote guard CMake variables
Merge pull request #183 from Bigpet/cmakefix

quote guard CMake variables