added a Solaris build script, added dist-Z target for Solaris;