Fix dependencies on frameworks