Better error message for running Pkg.buil