Use paths.h if it is available.