support EXTEND_PROTOTYPES = false
Merge pull request #42 from ssendev/master

support EXTEND_PROTOTYPES = false