Proguard fixes

added some fixes for when using this sdk with proguard.