Correct the sphinx commands.

To run the sphinx command, the LD_LIBRARY_PATH has to be updated
so as to contain the path to the libraries.