Fix intptr_t redefinition on non-MSVC