pkgbuild fixes