Update Thin dependency to 1.5.1

Fixed a compilation error on Ubuntu 12.10.