Added a check for deal.II dependencies.