x86: fix download script for OSX

Mac OSX does not have `wget`, but `curl`.
It does not understand `tar xJ`, but `tar xj`.