Add snap svg as a dependency.