Add StreamListener class files to Automake build system.
Fix energy computation for mc, niu, pcie, caches and nocs.