Android build without dependencies

Make it build on android without dependencies by using android.util.Base64.