Made the 'sourcesTask' creation conditional to allow easier project aggregation

Made the 'sourcesTask' creation conditional to allow easier wrapping of the OS project within a larger project.