Remove the configure and cmake checks for sys/wait.h