issue 31: OS X build failure
issue 31: OS X test failures

mktemp(1) TEMPLATE arg is required on OS X.

Use diff -b to ignore different whitespace in od output on OS X.