add dynamic library generation to libortp