fix comparison for sol9 broke /bin/sh