Handle signals on unix only while theres no windows version available.