Fixed configure.ac and configure