Added -Wl,-rpath,@loader_path/. for test to locate test libraries