Fix a crash on 64-bit solaris sparc