Added FreeBSD fetch support

Checks for FreeBSD fetch support first, if it doesn't exists falls back to wget.