[Melanie, Pranav] Fixed cleaning in build process