[cmake] fixes metis-enabled alugrid usage in applications