Added retina support without breaking iOS 3.0

I saw a closed issue with a commit that fixed #3. It did so by breaking iOS 3.0 support. Even though I don't think anyone uses iOS3 anymore I still added retina support without breaking build for that platform. Just look at the code and see if you want it in the main repo.