Fix #26, Change in endianness detection due to gcc compiler bug
Merge pull request #28 from milani/master

Fix #26, Change in endianness detection due to gcc compiler bug