Add platform checks via config.h.in.