Add FORTRAN compilers and flags to configure options and environment

Adding FORTRAN compilers and flags to the configure options and environment in configure.mk using the newly introduced definitions in shared-macros.mk
Recreated a clean pull request.