Extract LeapConfig.h and Base.h