Switch to autoconf for header detection.