fix for solaris studio