fix linking error on OSX
Merge pull request #513 from mikeferguson/indigo-devel

fix linking error on OSX