added option to link libev statically