Modify to build on Linux