after_build should be inside after_config to respect ordering of config.rb