Fix Solaris 10 build.

Fixes #260: Unable to compile/install the client under Solaris 10 U11