Write windows build script
Fix printing of empty directories