Fix the C++ support, dont support exceptions now.