Support GNU and BSD base64