fix compile errors / warnings with Intel compiler
typos / cleanup