Redefine assert if already defined since some platforms already have an assert definition
Merge pull request #612 from nfi/assert

Undefine the assert macro to avoid compiler warning.