Compile to target Java 6

Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>