Fix gcc warning about implicit declaration of exit.

namefinder.c:9:2: warning: incompatible implicit declaration of built-in
function ‘exit’ [enabled by default]