build problem with java 1.7