added waflib checking