Remove derecurse options as that seems to be breaking things
Add a delay before cleaning build dir