Adding -G to C flags for -fPIC in static library in SmartOS/Solaris