Make enums work correctly on 64-bit.