Fix XFS compilation issues