[PATCH 1/1] Use readdir on glibc >= 2.24 by default