get rid of cmake policy CMP0020 warning on windows.