Include signal.h when using signals.
Merge pull request #1462 from waywardmonkeys/include-signal-h

Include signal h