Explicitly define local journal and fix minor linkage issues