Updated OS-specific setting of MAX_HOST_NAME to process OSX first, before falling back to generic UNIX