Cleanup and build improvements

@elingg PTAL
Could you add something in the readme for this option (clean and exit)?