when linking ec_interfaces and ec_lua we need to add required libs, since they are static libraries