Minor fixes

Fixes to resolve cocoapod installation issues, compilation during 'release' mode