Man charged with building bombs in basement