Fixed one more cmakelist. to compile sources with c++ when compiled with Visual Studio.