Fixed MS Visual C++ compatibility issue.