Fixed directory removal in build.bat