Adding war task to build target, fixes #503