Add build system

The build system used is Waf.