Update OS X hack scripts.
Fix i18n of strings from src/lib/po on OS X.  There were two bugs;
firstly, the path to the .mo files was wrong (the code assumed that
OSX was like Linux).  Secondly, the string passed into putenv() must
not be freed by the caller (as its docs say).  It appears that you
get away with not doing this on Linux and Windows.