Updated Swig to fix C++11 compatibility