Revised a source file to be able to compile it in Linux and Windows.