Fixed for Windows platform.