Compatibility fix

Fix compatibility on Windows platforms.
Compatibility fix