Use GNU install on Solaris.

This commit changes the build system to use GNU install on Solaris, where the install program is incompatible with the BSD/GNU one. @tobgen has confirmed that this works on Solaris and I have tested on OS X using BSD and GNU make and Ubuntu Server using GNU make and this does not break anything as far as I know.