Fix strerror on GNU systems.
Fix size_t/uint64_t discrepancy for OS X
const char* for slice data