Fixed build error on Mac OSX

  [Problem] build error on Mac OSX system
            error: expected unqualified-id before ‘__null’
 [Solution] "assert.h" already defined NULL on Mac OSX systems.