MOD: fix compile error using xcode beta6