improved Linux build script