fix libxslt build for mac

Mac does not have `HAVE_CLOCK_GETTIME`.