Fixed ticks per second detection for Linux.