configure.ac: Update header and function checks.