Added compile time checks for big endian from @pasis
Merge branch 'master' into plugins