fixup build scripts