Fix compilation issues on Windows (timespec)

Thanks to Patryk Ziemkowski for mentioning this fix
on our mailing list:

http://lists.ims.tuwien.ac.at/pipermail/psmove/2013-March/000362.html