Fix finding of the Scala library to work on Windows and to work with SBT