[IB/CMSSW_6_2_X/stable] SWIG and LHAPDF.

The following pull request should resolve LHAPDF compilation issues on newer systems and compilers.