win32: fix for cmake>=2.8.12