_Actually_ made the semaphores use int64_t instead of int.