Added 'target 1.5' to javac flags to fix building on jdk7