Fix list_intervals test small mistake
Fix align_malloc linux version
Add cstdlib to compat for size_t under linux