delete long everywhere, use intptr_t instead so that we can pretend that windows is LP64