Fix a few compiler warnings

This fixes a few compiler warnings when compiling using iOS 8 as deployment target. Default is still iOS 6!
Fix creation of anonymous UUID