move pinctl.h and wdt.h to conditional compilation