Minor fixes

Changed the Makefile to automatically create the c++, fortran, and root
object directories if they do not already exist.

Fixed a coding error in DetectorDriver.cpp