Make MatchPatternMacro to work with both Scala 2.10 and Scala 2.11.