Fix a library search directory when building the test binary.