fix warnings on windows/VisualStudio #54