bug fix:

After sorting by device name, task rank variable is still hr_table[i].rank.
adding build location for now