fix: install fails silently if $PREFIX/bin does not exist.
fix: install with PREFIX causes linking with tmc-check to fail

Compiler needs to include PREFIX/lib as a library search path (-L)
fix: tmc-check.c's linked lists leak memory
fix: calling isspace with a char can cause a warning on some compilers