Fixed missing 32/64-bit #define causing wrong code to compile. Detected with templates instead.