winexe: fix build on Mavericks

Closes #26855.