renamed the ambiguous namespace for gcc

Fixed namespace issues for gcc, sorry for only checking with clang.