added Xlint flag to compilation steps, suppressed unavoidable warnings.