Fixed test failed to get display config

The issue was related to the fact that I was linking with the wrong library. Also
I had to comment out / change some gl calls.
Fixed VES test