finally got the wrappers to be generated by commenting out a few things here and there with #ifdef SWIG ... #endif