Clean up warnings on windows