Add an option for statically linking SWORD (for click packaging)
Improve CMakeFiles and add more click packaging files