Made the code compile on Windows