fix for xrd configure