Ios7 build target

a possible fix for #3 to remove compile warnings on iOS7