Add generated source directory as a compilation root.

@danrice-square @swankjesse @strangemonad anyone..