waf: small refactor
waf: allow custom checks to insert an additional message
waf: reuse the context method to satisfy dependencies
waf: make work with python3

the standard library of python is fucking terrible
waf: fix vda checks