issue #2103 modify some compile setup and delete some deprecated lua function