Add clean build flag

Depends on PR #347