Fix build issue with ambiguous references of IdlePromise being defined in two files