update Lib.Libevent/CMakeLists.txt
remove warnings
fix coding style