use object libraries in cmake, bump cmake to 2.8.8+

- uses cmake 2.8.8+ feature object libraries
- doesn't build dependent libs for each compiling process
- cuts compile time by roughly 10sec