Fix build of python after build-package.sh rewrite