Fix comp warning on windows