Moved the declaration of extern variables into the fid.cxx implementation file.  It turns out this is better for third party use of the shared library.