Add patch to solve bashism in /bin/sh script (Closes #772331)
Add patch to fix endianess