fix libreoffice build