Fix branch --build option