changes to build on Linux