made all.h compilable from anywhere