[Build] Reduced build warnings on windows