Updated StmtCompiler to be compatible with Windows