detect proj_info() instead of pj_get_release(), adapted from https://trac.osgeo.org/postgis/ticket/4860.