build: parallel build handling of runtime swig and swig docs.