Cmake build: 'callstack printing' detection.

Instead of depending on compiler we try to check for working
API as is done now for automake build too.
Merge remote-tracking branch 'github/build-bot-master' into bleeding-edge-master
2014.11.09-13.00