Use make -C to change working directory, otherwise after the first cd we find
ourselves in that directory.
INSTALL_PROGRAM tries to strip(1) the file, which results in an error because
the file is a script. Use INSTALL_SCRIPT instead.
Chase compiler warnings, warning: static variable 'next' is used in an inline
function with external linkage [-Wstatic-in-inline]
Forgot to add static to the definition as well
Add a missing [close $fp]
list, pattern arguments to [lsearch] are inverted

If I got the thing correctly, this causes a varstring defined with key 1 never
to be actually used as a key.
Missing check on number of arguments --> [$table_name create] segfaults.
Merge pull request #40 from gahr/master

Various fixes
Merge branch 'master' into cpp