only use MAP_HUGETLB when the kernel supports it

- for compilation on kernels older than 2.6.34