Seriously mingw...c++11 flag was causing time.h not to recogize things it should...like time.h variables...