Fix gulpfile so compile completes before other tasks