More effecient office home detection and support for libreOffice4