The default locale under Mac OS X is set, but not otherwise. Order of arguments on this line fixes the problem I was having
Merge pull request #11 from ubuntuslave/mavericks

Locale not set properly under Mac OS X 10.9 (Mavericks)