Fixed errors arising from compiling ElectroWeakAnalysis