libcec-3.1.0 changed to use flock from libc https://github.com/Pulse-Eight/libcec/commit/ff86c07a16a6a05be936b27e3f390b61f2ba4d2b
Thanks for reporting, missed this on the bump.