UPC linker setup for Solaris

This is sufficient to compile and run at least the intrepid tests.
However, every single upc execution prints:
  UPC Warning: There are no UPC source files compiled into this program, or <upc.h> was not included?