Fix build error under windows

Error 45 error C2039: 'cerr' : is not a member of 'std'