Remove warning with Visual C++
Make temp work on Windows