pcntl_signal patch in windows

The function pcntl_signal is only avaiable on Unix system's, this patch allow the execution in Windows.