Fix mediaLib compilation problem on solaris.