Race condition during build