Changed "else if" to "elseif" and added fortran file type.

The "else if" does not work well on Windows.
Fortran and Windows--you gotta put bread on the table.