Fix SWIG build for libotapi-perl5 support.