Fix standalone compilation.