Extend Java dependency workaround also to Fedora 20.