More Linux build script fixes