Fix test build.

I was initially planning on having a separate file of the overrides
when I'd forgotten I couldn't rely on ELF symbol lookup.
Add support for looking up GLES3 functions using dlsym().

ARM and Mesa disagreed on how to look up the functions, so support
both ways.

Fixes #21