Add fix for CMake < 2.8.10 not having MSVCxx variables