The problem here is that your compiler is running into the category header before it's seen the file that the category is defined or referenced in.
D Carney was on to something when he said that adding the import to the precompiled header would help, but he's mistaken in what to import. You want to ensure that your compiler sees your base class header before the category so it knows what class the category applies to.