Update a recent change to handle systems where awk is not gawk (such
as Ubuntu 13.04 where awk is mawk by default).  Sigh...  Check on the
g++ version by using cut and expr instead of awk.



git-svn-id: svn://irodssvn.ucsd.edu/trunk@5482 ea137bd6-aa86-47b6-b90d-b101d9f19a90