Make GCPAGs_perproc_func cleaner for FBSD case