fix compiler errors -O3

* "dereferencing type-punned pointer will break
strict-aliasing rules"
* missing initializer
* boundary
Merge pull request #107 from iHiroakiKawai/fix_compile

fix compiler errors -O3