Fixed configure.ac generating faulty configure script. Tested on CentOS 6.5