Changed builder.py so that it compiles the dependencies on the fly as well