Check for time.h in unix build