Define _LARGEFILE64_SOURCE

This makes the large file test pass on 32-bit systems.
Fix fprintf in charmonize.c
C89 comments
Fix memory leaks in CLI.c
Add valgrind target