Fix Issue with Mac Compilation

On the Mac, TARGET_OS_IPHONE is defined (but it’s defined as 0), so
this #ifdef will always resolve to true. A standard #if should be fine
to switch between iOS and Mac.
Merge pull request #96 from codecaffeine/master

Fix Issue with Mac Compilation