only use CC to link on non-Apple systems