OS X build fix for 10.9
Merge pull request #902 from mavlink/osx

OS X build fix for 10.9