Events: kqueue loop create plus configure script fixes for libkqemu

Signed-off-by: Eduardo Silva <eduardo@monkey.io>