Use a platform-agnostic way to determine whether a path is an absolute or relative one.
Bug 325086
Please test the automatically generated build (in a few minutes) at https://github.com/Kst-plot/kst-build and close the report
if it works.