Thaumcraft API fix for compile