Another way to improve compilation is to build header files in smart way.
If it is only possible do not include header file from other header file just add forward declaration of class which is needed. This will speed up header file processing.