added sys/time include for strict compiling on osx