Fix gulp race condition

This should unblock travis