Attempt not to crash if whoosh is not installed.

Leo build: 20140920115405