Compile fix for non-windows