Use check_c_source_compiles to find libunwind capabilities
The unw_getcontext and unw_init_local symbols use a platform
specific prefix and are wrapped via macros. Thus CHECK_LIBRARY_EXISTS
will fail if we just look for "unw_getcontext". Fix that by
using CHECK_C_SOURCE_COMPILES instead.