start refactoring to support duel builds: libstdc++ and libc++/c++11