Mac build fix from Win32 port

Missed a spot, this is needed to fix the Mac build.