add support for PGI and Intel compilers for serial code