-Changed inline void *ptr_align() to void *ptr_align() to fix the issue with ld.
-Changed -O2 to -O0 in CFLAGSDEBUG