Would replacing the "\n" with "$(const.nl)" (or whatever represents the cross-platform version) be any help here ?