Modified build script for excluding cmd file in war