Fixed compiler build on java 7