OSX: find libintl.h
OSX: fix compile errors
OSX: hack around gettext nonsense