Try to fix cc detection