Fix build chain