Merge pull request #266 from dr-hannibal/arc-pthread

Make testing easier outside of build directory and especially for ARC