Use the POSIX function 'clock_gettime CLOCK_MONOTONIC' when available

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>