avoid warnings on non-windows OS