win32 python: fixed some compiler issues