Add YR_API macro for declaring functions as extern "C" in C++