Fix silly errors in build scripts