Include system headers before library headers (fix DEBUG issue with newlib)