configure.sh: fixed c std type; helpers/event.lua: fixed bug