Moved import of signal handler to allow test build