Add build files and .lock-waf* to .gitignore.