Fix OSX project

Closes #389