Make sure that the target cleaned is the same as the target to be built. Make --update work on Windows.