Scanmem uses `ptrace`. So there is no Windows support, right?
Nowadays, all Linux and Unix systems have `sizeof(long) == sizeof(void *)`. Only Windows is so stupid to use 4 bytes for `sizeof(long)`.

http://stackoverflow.com/questions/589575/size-of-int-long-etc
http://stackoverflow.com/questions/7607502/sizeoflong-in-64-bit-c
https://software.intel.com/en-us/articles/size-of-long-integer-type-on-different-architecture-and-os