workaround bug in cmake-3.1-rc1 (windows)