changes for build on linux