Make to work not on java 1.8