Fix for Solaris compile issue