common: Fixed warnings the broke Windows build (with /WX)