explicitly declared type for function getpid for Solaris
removed use of non-Fortran 95 int64, and explicitly created double precision integer type