Lowered number of used CPUs for compilation.

Enabled building of unit tests.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
Enabled building of Gtest libary.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>