Custom scala-library selection