remove references to old lua math library