some compilation changes
reactor over libev