cgc

cgc is working. target externalLibs will download and patch isinf.

need some futher improvments to add to master.
missing unit-test, missing namespaces in patch, missing includeguards ...