Fix gcc MacOS namespace issue.