Header extraction fixes

Add c++ headers.
Fix array looping for system headers.
Fix CT_DARWIN_MAC_OSX_V_10_6 checking.
Add arm-apple-darwin11 sample config.