Make headers compatible with C++