Fix linking to filesystem, and some minor typos