Fix for building mech_eap on Centos 6. (This should also work for Debian 7.)