Detect automatically the XE version from sources.