Add std::string support to swig for lua and python.