Cleanup and add board-specific headers to build system.