only declare atexit() test if fork is available
only declare atexit() test if fork is available

The test is already disabled if fork is disabled.
No need to compile the code.

tarruda/check,tarruda/check,tarruda/check,tarruda/check,tarruda/check