So, is there a risk that another process removes the compile dir in the mean time?
If so, we should handle that case when we actually acquire the lock.