fix compile error in Xcode 4.6 for mac platform which trigger by the Architectures’ value