Make lookup of scala-library.jar and scala-compiler.jar more robust