configure check for gles2
rbp: set rpath-link needed by automake
Merge pull request #185 from FernetMenta/gles

check for GLESv2