Compile error with ptrdiff_t fixed with inlcude of cstddef.