ekg2: fix building configure args

Fixes #19746.