Fixed warnings.
Improved error handling in LUBM benchmark.