add switches for tiff and freetype tests