Fix function name in build_pkg.py