base64 library that uses builtins when available