fix CMakeLists.txt for Darwin
Merge pull request #4 from rhysd/patch-2

Fixed CMakeLists.txt for Darwin