avoid warnings on non-windows OS

Sorry about that.