Fix bug 542: fix detection of compiler version on systems without the head command.
Fix bug 542: fix detection of compiler version on systems without the head command.

madlib/eigen,madlib/eigen,madlib/eigen,madlib/eigen