fixed iOS 8 platoform issue on build