Fixed wscripts for waf 1.7.8 and replaced waf 1.6.7 with 1.7.8