Fix problem with Visual C++