Fixing extern build scripts