waf: add other header generation stuff
waf: attempt to fix the vdpau check