Fix for errors on the Windows platform.