Fixed dependencies for minimal build