Don't overflow size_t in mac