Fix build error.
Merge pull request #3 from bdaehlie/macos-build-fix1

Fix build error.