Fix some errors in build scripts