need to include <cstddef> to use ptrdiff_t with GCC 4.6+

This fixes a compile issue when using GCC 4.6+ (more info [here](https://gcc.gnu.org/gcc-4.6/porting_to.html)).