SIGALRM, SIGVTALRM, and third party libraries