temp fix for c++ version difference