Improved swig wrapper and makefile with ignored warns