Fix compilation on Windows platform