Basic libstdc++ support without exceptions