Changed libJar build task to exclude mailapi dependency from the generated jar