Linux: corrected BuildXDGPath()

This corrects previous commit (bb566df6f4f527cf474179dc064cffcf7e95f318) where "ags" subdirectory was appended only if XDG_DATA_HOME enviroment variable is not set.