Fix error in build_script