clean up auto_init includes

Include headers only if respective module is built.
Fixes building for msb-430.
Prevents possible build breaks in the future.