when linking ec_interfaces we need to add EC_LIBS, since this is a shared static library