waf: add support for bundle generation

this generates a non distributable version of the bundle