Fix compile issue on gcc-4.9.1 and recent Debian.

Reported by Lars Bro. Yes, we have uintptr_t.