Fix for platforms other than Windows.