Add support to build on Solaris AMD64