Code

Cmake: Fixed HAVE_CAIRO_PDF and moved ConfigChecks to it's own file