Fix nix test runner when compiling with GLES2

Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>