Fix for non-Windows platforms.