Brain: fix OSX build