fixed finding cg framework and headers