Set the LD_LIBRARY_PATH when running tests

This way when you disable rpaths you can still run `make check`