fixed compatibility with OS version prior to 10.9
- added compile-time guard macros
Merge pull request #73 from ChungwaSoft/ChungwaFix

Runtime check for available symbol