Fixed building on Windows with CMake