Marking base64-related global functions as static

These inline functions should also be marked static so as to avoid linker problems on msvc, because msvc doesn't automatically make them static like other compilers do.