Fixed errors and warnings with intel compiler v13.0