disable shared libs on sparc (linux/solaris) (fixes #8857)

Authored by kgardas on Mar 7 2014, 4:36 AM.