add cdt macro search + fix cdt unit tests

for some reason searching for stdlib EXIT_SUCCESS now requires a macro
search.