A late goal from Ross County substitute Gary Glen lifted the Clydesdale Bank Premier League rookies to third in the table with an impressive 1-0 win at Aberdeen.