Proper support for archive libraries.
Merge pull request #815 from ktf/geant4-static

Proper support for archive libraries.
Merge remote branch 'origin/IB/CMSSW_7_2_X/stable' into IB/CMSSW_7_0_X/stable