waf-based build automatization

This related to issue #1