libstemmer: refactor.
libstemmer: really support creating dylib with apple clang