Changed deps to handle non-openjdk jvms