cmake: Fix running examples on Windows.
cmake: Fix running examples on Windows.

Signed-off-by: Andreas Schneider <5be00ddc76278cf6077f5047ca3384a88460c671@cryptomilk.org>

clibs/cmocka,JonathonReinhart/cmocka,tyc/cmocka,jamesmunns/CMocka,VladimirTyrin/cmocka,wingyplus/cmocka,dsch/cmocka,JonathonReinhart/cmocka,dsch/cmocka,tyc/cmocka,VladimirTyrin/cmocka,tyc/cmocka,jamesmunns/CMocka,clibs/cmocka,wingyplus/cmocka