Add clean build flag

Depends on PR #347 
missing godoc