Added TRY_COMPILE_HEADERS cmake option to test header self-sufficiency.