Some errors in configure.ac fixed