OSX (now) needs signal.h for sigaction
Merge branch 'signals-again' of https://github.com/nmaier/aria2 into nmaier-signals-again