Link zlib witb bootloader statically on Solaris

Similarly to AIX, link zlib with the bootloader statically on Solaris, so it does not depend if zlib will be detected on the target machine.