There is a mistake in the cmGeneratorTarget_cxx patch. This creates a wrong
scope. "this->IsFrameworkOnApple()" is present twice and the first one adds a
wrong bracket which creates a scope to the end of the whole function.
Has been through bulk build on amd64, ok naddy@