Add includes to get ptrdiff_t. This is needed by gcc-4.6 which has