Use dladdr to find current tests dir.