fixed a bug with sysguard and upstream_check didn't compile on Solaris 11.