Fix working on Linux