Fixes pyglet compilation.