Fix Solaris check.

Solaris is known as solaris2.N not solarisN.
Need two sets of brackets.