Made the build script work on linux