These variables get set to /usr/lib and /usr/include , which is totally wrong in a cross compilation environment. Changed to standard pkgconfig values consistent with most other ones.
using instead of typedef. climits instead of limits.h Added missing cast to size_t.