Fix Scala 2.10 compile error caused by @077ae53