Resolve multiple definition issue in runtime.hpp