workaround for https://github.com/sbt/sbt/issues/861