Adjust to compile xls-preview