Work around type soundness hole-plug in Scala 2.11