got it compiling on Ubuntu 13.04 with gfortran 4.7.3