Fix compilation with libqglviewer>=2.5.1