Correctly set rpath for unittests.

This lets us run the unittest from the command line without setting
LD_LIBRARY_PATH.