Remove obsolete and harmful hack for solaris.

Fixes ROOT-5733