Make sure project compiles under Java6.