Built tests with -rpath on non-osx