Aberdeen claim first league win of the season