Add Apache license
C89 compatibility
Add SHOULD_MEM_EQUAL