Fix for updating to java 7 openjdk