removed some useless config options, fixed lua engine compile