fixed warning when building lua on Linux
fixed issue with previous commit