fixed CMakeLists.txt
for (auto ...) not work in visual studio