configure.ac: Add some missing checks.