Compile fix for Windows