Deployment ios6

Fixes #9 and #13