Remove -werror flag to compile with java 7