waf: implement OSS check