configure: fixed X11 libraries detection on RedHat/CentOS
Merge pull request #7 from ezequielv/fix-configure_x11_libs_redhat_6.6-01

configure: fixed X11 libraries detection on RedHat/CentOS