runtime: fix a circular dependency for older compilers