check return value of "cc" when probing