Fixed opengl test to work on nix