Updated to not require ios7 as deployment target