C++ compatibility for SDL mixer