create tmp_lib if not yet created