pari: avoid more hardcoded PREFIX instances
common.mk: change BUILDDIR to include DIRNAME
pari: install PREFIX/etc/gprc and PREFIX/etc/gpalias
gap: cleanup some cruft
realpath: improve build / install rules