= Apply workaround for scala issue 8657, fixes #78

see https://issues.scala-lang.org/browse/SI-8657