fixed compilation for Xcode Version 6.1 (6A1052d)

removed deprecated call, causing build failure