handling cc flags