javac target is java 1.6. Giving out errors when java 1.7 is used