waf: fix dos path detection
waf: fix bug in vdpau acceleration detection
waf: shuffle dependencies so that vf-dlopen-filter works
waf: add checks to make sure dependencies are known

This will alert developers in case they use a dependency that is not yet
defined.