Fix typo in macro name.
Fix compatibility with GLib < 2.28 in FmPath.