Disable PUBLIC declarations when we're compiling the executable.
Moved code from buffer.h to buffer.c.  Make strbuf_cstr static.
inline make_autolink.
Disable warnings about inline with mingw.