Make the flat file and small file mode optional

So that the user can disable them when needed, with:
  cmake -DUSE_FLATFILE=OFF ./               or
  cmake -DUSE_SMALLFILE=OFF ./