Compile the common library with portability_cxxflags instead of portability_cflags