remove race condition by having gulp manage install and build task.