* some more header checks in the configure script
* updated configure script to write a log file

* fixed missing includes for some libs (e.g. libjpeg)