Tries to fix detecting linux amd64 or i386.