use global variable __local_name instead of macro ARGV0 in libraries, so that the binary name set into __local_name will be used
fix test compilation
Merge pull request #326 from cgzones/no_argv0_in_libs

use global variable __local_name instead of macro ARGV0 in libraries