update gtest-port.h to compatible with mac