correct one version of Solaris compare and exchange.