Added version check for freestyle API change in 2.70