reorder configure.ac to remove autoconf warning