Add hackaround for OSX build issue.