Custom extensions for Waf (Waf is a Python-based framework for configuring, compiling and installing applications)