Add Scala 2.11 support.

Fixing bug #42.