Fix iOS build script to run with paths which contain spaces.