Feature/repacking

I want to use this in OSX, but can't build it. So I did trivial fixes.

And this module has packing problem on CPAN. ref #1.

I hope merge it and release next version to CPAN.