adding support for building the basic examples with waf