checkelf: fix detect mesa