Fixed build script on Linux