Fixed error when there is no pcntl installed in php

it may worth to display a warning too.