Fix build on Ubuntu derivatives