Fix legacy Mac types in Windows build.