Fix of NOGLUT compatibility.