Fixed Build files to compile on a fresh cmssw environment