add bin and gen dir