Added protection when adding compiler flags when building builtin davix and xrootd.