waf: don't pass lib= at all for the first check in check_libs

This prevents to generate some empty LIB_stores in case the first check is
successfull
waf: add gl_x11 check
waf: correct xv reference in the build step

I really should store another set with all the dependencies and throw
exceptions to avoid silent errors.