check if pcntl functions exist.
Merge pull request #86 from remyLemeunier/patch-pcntl

check if pcntl functions exist.