w32: Fix a few compiler warnings.