CMakeList.txt changes for static linking of libtiff