remove code blocking java 8 usage on osx