Fix up monit checks for lua 5.2