added compatibility to intel compiler