Fix minor errors in VC++.