only use CoreTelephony when running on iOS
add support for OS X
Merge pull request #17 from fawkeswei/master

Add support for OS X