corrected compile errors on MIC