Added compiler option '-mcmodel=medium' to gfortran builds.