Fix mingw32 build

mingw32 doesn't have OnLinkPrefixLength