monitor-source: Only build it when Lua support is enabled

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>