Updated For Windows Compilation.