Fixed bug when processing multiple files - output id not updated
Statically link gfortran