fixed wedged build scripts