Fixes to the build process making it more javadoc-compliant.