fix link srand()
Merge branch 'master' of https://github.com/pqr/tf2gen