This patch changes NAG Fortran (nagfor) compilations of shared
libraries to correctly pass the -shared flag to the underlying
compiler.
