Fix a compile issue with big endian config & some small issues fixes