Fix dependencies for minification