Fix Solaris/sparc64 issue with stats