Clean on manual branch-switching

Especially with FFmpeg, users get into trouble with FFmpeg's broken
build system, which might error on incremental builds for no good
reason.