Use path-util.el instead of file-detect.el.