compile en265.h with external C linkage