Converting METIS to use BUILD_SHARED_LIBS rather than a custom option