Fixed build problems on MacOS. Thanks to Greg.
Merge pull request #7 from greg-hellings/stable-2.10

Fixed build problems on MacOS. Thanks to Greg.