Update Sass functions so they will work with Sass 3.4.