Add support for building with tick_t being a double instead of a uint64. Use that for Emscripten for faster and more precise high-resolution timing.