waf: remove dots from module name to silent import warnings in python2