fix order of tasks in make file