Build: more Solaris cc/ld workaround attempts