If you get a compile/link error with WCOREDUMP undefined, then define the following in sapi/fpm/fpm/fpm_children.c.
This happened to me when running on AIX, which apparently does not define this macro.
#ifndef WCOREDUMP
#define WCOREDUMP(x) 0
#endif
</pre>