Use given base name when exporting tg file along with shared library
After change #50 (closed) it's not practical to export tg files on hardcoded graph.tg name.
After change #50 (closed) it's not practical to export tg files on hardcoded graph.tg name.