support const signature, fix / suppress compiler warnings

  expected ‘const char **’ but argument is of type ‘char **’