Added support for building on Solaris with the Sun C compiler