add libtool support to sg_log_init

  sg_log_init will now remove trailing "/.libs" from dirname(argv[0])
  when searching for properties file.
  That allows developers to forget about that .libs hidden subdir
  of libtool stuff