Fixed an issue on Linux