Charge State Distributions of Ions Extracted from A Compact Electron Beam Ion Source