Merge pull request #144 from micmac1/zip-fts2

cmake: improve fts variable handling