Move build helper tasks to separate file; fix issue with include files extensions