Fix building secrets