Fixed some invalid dependency updates (java 5 compat)