fixed newlib compile error