Fix building of SWIG files from merged build.