compile warning on windows