Fix comp warnings on windows