cmake: use set() to set HAVE_FORK variable
cmake: use set() to set HAVE_FORK variable

In Windows, the add_definitions() call does not set the
HAVE_FORK variable for configuration files (check.h.in, test_var.in).

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