SunOS-5.10: avoid use of /usr/bin/awk (oawk) which is really, really bad :-(
Instead use /usr/xpg4/bin/awk if it exists.
Use /usr/xpg4/bin/nm if it exists (Solaris-10)