non-SWIG build support