configure abs path according to os