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