Fix standalone build (64bit branch regression)