Compatibility fix for Windows NT