Fix cltostr.sh on OS X