Simplify configure.ac dramatically