Sigh, revert getprogname use, it's presebnt on mac, etc but not linux
use getprogname() instead of __progname
LTO type mismatch error
paatches applied
#143 patches
-Wimplicit-function-declaration in __progname configure test
patch applied
bug #144 fix