Generate SWIG wrapper just before build