Add missing dependencies in tncutil CMake file
Fix linker argument issues on OSX
Fix typo in variable declaraction
Fix typo in assignment