Compilation fix for MSVC.
Merge pull request #160 from eile/master

Compile fix
Merge pull request #159 from hernando/master

Compilation fix for MSVC.
Merge pull request #163 from eile/master

LB_LITTLE/BIGENDIAN defines