Fixed build error on Debian. Unsigned long -> size_t