Fix build on Mac OS X 10.9

- xmmintrin.h is broken here, so disabled _mm_prefetch on Apple
- Changed some uses of "unsigned _int64" or _uint64 as size_t