added support for the gnu compiler, (note: pgi does not work)