MacOS needs special handling for size_t/ptrdiff_t both with clang and gcc.

refs #33