Improve check of loaded apache modules

Sometimes mod_headers is loaded dynamically, so that a check for mod_headers.c will fail. In those cases the support module should check for mod_headers.so.