Compile only with java 1.6