Fixed regex
Fixed path for libgfortran