Fixing windows compile errors.