Fix test for x86 machine.
Merge pull request #31 from gwtnb/test-x86

Fix test for x86 machine.
Use checked delete in scoped_ptr
Merge pull request #35 from jubatus/use-checked-delete

Use checked delete in scoped_ptr