Adjust to work on Linux