configure: fix wrong test == syntax