Fix dependancy bug of genrule
Merge pull request #100 from chen3feng/fix-genrule-dep

Fix dependancy bug of genrule