Update configure.ac

Corrected paths to compile on our CentOS environment and removed unneeded paths.