Fix task running order in grunt build task