add fix for waf-1.8.0pre1
Merge pull request #42 from steinwurf/fix-for-supporting-waf-1.8.0pre1

add fix for waf-1.8.0pre1