if USE_METIS_5 is defined, METIS v5 api is used

makes it compatible with metis version 5