Fix build on Windows

Fix for new CMake behavior since CMake 2.8.11.