Bug fixes relating to glib CFLAGS, leveldb wrappers, and base64 encoding
Removed unused base64.c/h