Fix standalone build