fixed to fail when build plain lua

modified with in-place option of sed.
(current version makes src/luaconf.h empty.)