SPCoreDataStorage: Fixes warnings in OSX