fix: can't assign method IDs when built with --version
am: 3633b722e5

Change-Id: I3b3971b7d6a34d953b9593824490a799c5dc1f1c