Fix standalone build.