Add extern 'c' for c++ in messageQx header file