Fixed bug that appeared only on Linux...

fixed by moving from wait to waitpid
Restored support for gfortran 4.4

pointer bounds remapping is apparently not yet supported in gfortran 4.4