add host info (gethost.f90) for gdb, fixed gfortran compatibility