Fixed undefined type "size_t" for some compiler versions