When the old textbooks are gone, the symptoms should be gone as well. This is just a general expectation, each patient is different. It's quite possible the headache is in response to the molds released, but an infection is not likely - there is no evidence that molds growing in the body would result in that symptom, but a chemical, toxic reaction by releasing the mold. The elimination of the moldy books should alleviate the problem, but you should consult with a physician. I was exposed to mold in my classroom, followed by a worse odor after clean up that left me with Reactive Airway Disease and Acute Pericardis.
Molds can have an odor.
They can also cause problems with the pulmonary system. Sometimes in attempting to clean up the mold, they end up placing more molds into the air, causing more of a health problem. If this is the situation, then the health problems should get better after a few days. The mold particles should settle down again. Most important, you need to know that this organization has to understand that they must contain the contamination as well as remove it.