Fix inadvertent building of javadoc on non-release profile