lua: fix build with MacOS's make