Fixed compile_windows.pl script
Fixed NDDSHOME environment variable errors