libreoffice: Fix build flags, strip libraries