add workaround for Windows build issues.