Fixed linking problem for -DMONGOOSE_NO_FILESYSTEM