Fiz a bug only appears in Win8. Add a .gitignore for CMake.