possible fix for https://github.com/sbt/sbt/issues/861