Merge pull request #70 from wpreul/master

Protect against null prototypes
Allow assert to be optimized