Fixed warnings when building for OS X (shouldn't cause any new problems on iOS either).
Merge pull request #11 from joeldev/dev

Fixed warnings when building for OS X