Project had have compiler errors

i’ve fixed problems during compile process. Now the version should work
as a ARC Project and with ios7