[build] fix an ambiguous call