added SWIG compile