fixed build-war.sh script