Eliminate some gcc (4.6) warnings on windows.