Add prog variable.
Remove the BSD part of dload.
Set M_ARCH also when M_VER is not empty.