Properly regenerate headers when generator script changed.
Merge pull request #12 from Ventero/fixes

Properly regenerate headers when generator script changed.