Compatibility fix on Linux