Fix build break

Hello, Ash

With these two fixes one can build your project on any system, including one that doesn't have Crashlytics.