How can I be sure that the same project.xml will work on other Operative Systems?
Yes, but because of the differences in how paths are specified on each platform, if you share the same project.xml among different platform, you have to activate the "save relative paths" option.