Fix bugs

The options defined in config file has been propagated to packages, but
we still need to propagate them to package's dependencies.