[xbuild] Parsing conditions with property references. Fixes #20634