fixes tool build