fixing check for LIBPROJ