Try to fix warnings on windows