Make header C++ compatible