Update libraries and add cross compilation
Fix scaladoc generation