Fixed order of path lookups, do not lookup system paths for Patmos bitcode linking