Made it so that the C module can autodetect source files that are generated by other rules
Initial work on java module