[build] remove unused ossp-uuid depenedency for osx
Merge pull request #68 from Chilledheart/bugfix_osx_no_uuid

[build] remove unused ossp-uuid depenedency for osx
Free/Net/OpenBSD have another names for libevent2 headers.
Add #ifdef / #else / #endif to include correct headers.
[build] correct sed usage
[build] fix bus error while execute make -jN (N>1)
Substitute m4 obsolete macros
Fix memory leak
[lib] add uuid_create support for bsds