[Server] Fix Lua event being compiled without JPLUA defined