Fixed crash when LUA_DEV environmental variable is not set (fixes #228).