Fix GL feature detection for hwloc