fixed extern c includes