Check headers and libraries 2

Several more updates concerning configure.ac and doing a hard-stop on no library or header files.