cmake FLB_HAVE_FORK examples

fluent/fluent-bit CMakeLists.txt :894

check_c_source_compiles("
  #include <unistd.h>
  int main() {
     fork();
     return 0;
  }" FLB_HAVE_FORK)