added QueryCCTarget and QueryCXXTarget