Fix that build directory is only deleted on successful deploy/simulation