Fix #305 (only needed for old versions of Bibliocraft)