Fix warnings/errors with Intel compiler