Fix `path-replace-suffix' and `path-add-suffix' on path for some system