Fix regression for using Scala IDE on scala-library

Review by @dragos