export the runtime; fixes #2041