typesafe_cb: fix !gcc case