automated runtime-lib creation