more fixes from the IRIX compiler (thanks herb!)