[build] Fix removing old build