Update libraries to enable cross-building and scala-version-specific dependencies