compile fix for ptrdiff_t definition