Fixes endianess at reading pe files and maybe other unknown issues with pe configs