Fix for LibreOffice 4.2 and Mac