Fixed OSX build after namespace changes.