Enable checks for C and C++ compiler

This needs to be done anyway to make embobj a proper library, and
fixes the issues with CMake 2.8.7.

Fixes: #1