Fix BuildFile for usage in other CMSSW packages