Fix EC issue on Fedora 20

Fix for #1143