pkg-config output for shapelib isn't available on RHEL6, so do it the old-fashioned way.