Add missing dependencies in tncutil CMake file
Fix linker argument issues on OSX
Fix typo in variable declaraction
Fix typo in assignment
Merge pull request #1 from arr2036/master

Fix various issues found whilst building