Added configure time flag for cleanup.

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
Linted.

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>