platform: allow overriding stub in x64