Fixing distribution and framework bundle dependencies.