Fix issue when consuming via cocoa pods, mac