Allow empty platform path when setting build env for Apple platforms.

Task-number: QBS-344

Change-Id: If97f45efdeeedbea2e3b21e40bdb9092b605e742
Reviewed-by: Ivan Komissarov <ABBAPOH@me.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>