Changed to use stdint.h if we are using VS2014 or higher
Skip defining timespec if we're using VS2014 or higher