Fixed non-consistant usage of '=' and '==' with string comparison, opting for '=' to support AIX/HP-UX.