Rename event_extras to event_extra

The library event_extras is named event_extra when building with
GNU autotools
Add option to build shared library
Merge remote-tracking branch 'origin/pr/110'