Type change to be compatible with gcc 4.8.1

gcc 4.8.1 has changed std::string::size_type from unsigned to unsigned
long