hacks to fix locale on mac os x