Fixed the heap on Linux.  Some ubuntu-specific hacks in the compiler driver to build agains gcc-4.6 instead of 4.7.  Not sure why gfortran-4.7 doesn't work.