fix extern c