Fix pkgbuild build