Use AS 3 if ruby is < 1.9