FIX: Don't build Hive in assembly unless running Hive tests.

This will make the tests more stable when not running SQL tests.