Some professors take classes off campus to avoid picket lines